import java.io.*;
public class TestFileoutputStreamQxl {
	public static void main (String args[] ){
		int Qxl1=0;
		FileInputStream in=null;
		FileOutputStream out=null;
		try{
			in=new FileInputStream("E:/2200824Qxl/2200824屈祥乐.txt");
			out=new FileOutputStream("E:/2200824Qxl/Qxl.txt");
			while((Qxl1=in.read())!=-1){
				out.write(Qxl1);
			}
			in.close();
			out.close();
		}
		catch(FileNotFoundException L2){
			System.out.println("请输入正确的路径，根本找不到你要的文件");
		}
		catch(IOException L3){
			System.out.println("文件复制错误，~~~~~~~~~~~~~~~~~~~~");
			System.exit(-1);
		}
		finally{
			System.out.println("文件已经复制~~~~~~~~~~~~~~~~~~~~~~");
		}
	}

}
